package com.lxyk.yygh.hosp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("com.lxyk.yygh.hosp.mapper")
@ComponentScan(basePackages = "com.lxyk") //swagger
@EnableDiscoveryClient //nacos 远程调用service-cmn模块
@EnableFeignClients(basePackages = {"com.lxyk"})
public class HospApplication {
    public static void main(String[] args) {
        SpringApplication.run(HospApplication.class,args);
    }
}
